home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(this.hitTest(_root.j1))
- {
- _root.j1.att = false;
- _root.j1.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.j2))
- {
- _root.j2.att = false;
- _root.j2.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.j3))
- {
- _root.j3.att = false;
- _root.j3.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.j4))
- {
- _root.j4.att = false;
- _root.j4.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.j5))
- {
- _root.j5.att = false;
- _root.j5.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.tripple))
- {
- if(_root.tripple.att == true)
- {
- _root.tripple.gotoAndPlay(2);
- _root.tripple.att = false;
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.laser))
- {
- if(_root.laser.att == true)
- {
- _root.laser.gotoAndPlay(2);
- _root.laser.att = false;
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.can))
- {
- if(_root.can.att == true)
- {
- _root.can.gotoAndPlay(2);
- _root.can.att = false;
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.health))
- {
- if(_root.health.att == true)
- {
- _root.health.gotoAndPlay(2);
- _root.health.att = false;
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.j6))
- {
- if(_root.amitavavilla < 3)
- {
- _root.j6.att = false;
- _root.j6.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.j6a))
- {
- if(_root.j6a.hit < 3)
- {
- _root.j6a.att = false;
- _root.j6a.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.caman))
- {
- if(_root.amitavavillb < 3)
- {
- _root.caman.att = false;
- _root.caman.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.camana))
- {
- if(_root.camana.hit < 3)
- {
- _root.camana.att = false;
- _root.camana.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.jet))
- {
- if(_root.amitavavillc < 4)
- {
- _root.jet.att = false;
- _root.jet.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.jeta))
- {
- if(_root.jeta.hit < 4)
- {
- _root.jeta.att = false;
- _root.jeta.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.sjet))
- {
- if(_root.amitavavilld < 4)
- {
- _root.sjet.att = false;
- _root.sjet.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.sjeta))
- {
- if(_root.sjeta.hit < 4)
- {
- _root.sjeta.att = false;
- _root.sjeta.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.sjet1))
- {
- if(_root.amitavaville < 4)
- {
- _root.sjet1.att = false;
- _root.sjet1.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.sjet1a))
- {
- if(_root.sjet1a.hit < 4)
- {
- _root.sjet1a.att = false;
- _root.sjet1a.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.sjet2))
- {
- if(_root.amitavavillf < 4)
- {
- _root.sjet2.att = false;
- _root.sjet2.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.sjet2a))
- {
- if(_root.sjet2a.hit < 4)
- {
- _root.sjet2a.att = false;
- _root.sjet2a.gotoAndStop(3);
- removeMovieClip(this);
- }
- }
- if(this.hitTest(_root.j7))
- {
- _root.j7.att = false;
- _root.j7.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.j8))
- {
- _root.j8.att = false;
- _root.j8.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.j9))
- {
- _root.j9.att = false;
- _root.j9.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this.hitTest(_root.j10))
- {
- _root.j10.att = false;
- _root.j10.gotoAndStop(2);
- removeMovieClip(this);
- }
- if(this._y < 70)
- {
- removeMovieClip(this);
- }
- if(585 < this._y)
- {
- removeMovieClip(this);
- }
- if(this._x < 15)
- {
- removeMovieClip(this);
- }
- if(565 < this._x)
- {
- removeMovieClip(this);
- }
- if(String(_name) != "shota")
- {
- _X = _X + xmove;
- _Y = _Y + ymove;
- }
- }
-